package core.database.service;

import core.database.pojo.entity.DataBase;
import core.database.pojo.entity.IConnection;

import java.sql.DatabaseMetaData;
import java.util.List;

/**
 * @author Long
 * @version 1.0
 * @description:
 * @title DataBaseService
 * @date 2021/3/6 8:48
 */
public interface DataBaseService {
    IConnection getCon(DataBase db);

    DatabaseMetaData getMataData(IConnection con);

    List<String> getSchemas(DatabaseMetaData metaData);
}
